<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<title>
			后台管理
		</title>
		<link href="app/Admin/View/Index/css/bootstrap.min.css" rel="stylesheet">
		<link href="app/Admin/View/Index/font-awesome/css/font-awesome.css" rel="stylesheet">
		<link href="app/Admin/View/Index/css/plugins/iCheck/custom.css" rel="stylesheet">
		<link href="app/Admin/View/Index/css/animate.css" rel="stylesheet">
		<link href="app/Admin/View/Index/css/style.css" rel="stylesheet">
			<style type="text/css">
				body{background: #F3F3F4;}
				.page-heading{margin-top: 20px;}
				.breadcrumb{margin-top: 20px;margin-bottom: 20px;background: #F3F3F4;}
				.th_01{background: #E6E6E6;}
				.th_02{text-align: center;background: #E6E6E6;}
				.th_03{text-align: center;background: #E6E6E6;}
				.th_04{text-align: center;background: #E6E6E6;}
				td{text-align: center;vertical-align: middle;}
				.td_01{text-align: left;}
				.a1{color: #1AB394;}
				.a2{color: #F9B973;}
				.a3{color: #2BB99C;}
				.pice{color: #1AB394;}
			</style>
	</head>
	<body>
		<div class="row">
			<div class="col-lg-10" >
				<ol class="breadcrumb">
					<li>
						
					</li>
					<li>
						<a>
							商品管理
						</a>
					</li>
					<li class="active">
						<strong>品牌管理</strong>
					</li>
				</ol>
			</div>
		</div>
		<div class="animated fadeInRight">
			<div class="row">
				<div class="col-lg-10">
					<div class="ibox float-e-margins">
						<div class="ibox-title">
							<button type="button" class="btn btn-primary btn-xs btn-rounded" style="margin-right: 10px;">品牌管理</button>
							<a href="{{U('add')}}" class="btn btn-outline btn-info btn-xs btn-rounded">添加品牌</a>
							<div class="ibox-tools">
								<a class="collapse-link">
									<i class="fa fa-chevron-up">
									</i>
								</a>
								<a class="dropdown-toggle" data-toggle="dropdown" href="#">
									<i class="fa fa-wrench">
									</i>
								</a>
								<a class="close-link">
									<i class="fa fa-times">
									</i>
								</a>
							</div>
						</div>
						<div class="ibox-content">
							<table class="table table-hover">
								<thead>
									<tr>
										<th class="th_01">
											id
										</th>
										<th class="th_02">
											品牌名称
										</th>
										<th class="th_03">
											品牌LOGO
										</th>
										<th class="th_04">
											操作
										</th>
									</tr>
								</thead>
								<tbody>
									<?php foreach($data as $k=>$v):?>
									<tr>
										<td class="td_01" style="vertical-align: middle;">
											{{$v['id']}}
										</td>
										<td style="vertical-align: middle;">
											<span class="pice">{{$v['name']}}</span>
										</td>
										<td style="vertical-align: middle;">
											<!--<span class="pice">{{$v['logo']}}</span>-->
											<img src="{{$v['logo']}}" style="width: 100px;height: 36px;"/>
										</td>
										<td class="text-navy" style="vertical-align: middle;">
											<i class="fa fa-edit text-warning"></i> <a href="{{U('edit',array('id'=>$v['id']))}}" class="a2">修改</a>
											<i class="fa fa-trash-o text-navy"></i> <a href="" class="a3">删除</a>
										</td>
									</tr>
									<?php endforeach ?>
								</tbody>
							</table>
						</div>
					</div>
				</div>
			</div>
		</div>
		<!-- Mainly scripts -->
		<script src="app/Admin/View/Index/js/jquery-2.1.1.js"></script>
		<script src="app/Admin/View/Index/js/bootstrap.min.js"></script>
		<script src="app/Admin/View/Index/js/plugins/metisMenu/jquery.metisMenu.js"></script>
		<script src="app/Admin/View/Index/js/plugins/slimscroll/jquery.slimscroll.min.js"></script>
		<!-- Peity -->
		<script src="app/Admin/View/Index/js/plugins/peity/jquery.peity.min.js"></script>
		<!-- Custom and plugin javascript -->
		<script src="app/Admin/View/Index/js/inspinia.js"></script>
		<script src="app/Admin/View/Index/js/plugins/pace/pace.min.js"></script>
		<!-- iCheck -->
		<script src="app/Admin/View/Index/js/plugins/iCheck/icheck.min.js"></script>
		<!-- Peity -->
		<script src="app/Admin/View/Index/js/demo/peity-demo.js"></script>
	</body>
</html>
